function render1() {
    return createElement(
        'div',
        {
            attrs: {
                id: 'myDiv'
            },
            directives: [
                {
                    name: 'if',
                    value: isShow
                }
            ]
        },
        [
            'Hello, world!',
            createElement(
                'p',
                {},
                'This is a paragraph.'
            )
        ]
    );
}

function render2() {
    return h(
        'div',
        {
            attrs: {
                id: 'myDiv'
            },
            directives: [
                {
                    name: 'if',
                    value: isShow
                }
            ]
        },
        [
            'Hello, world!',
            h(
                'p',
                {},
                'This is a paragraph.'
            )
        ]
    );
}